From: Benjamin Otte Date: Tue, 21 Jun 2022 00:32:33 +0000 (+0200) Subject: object-tree: Allow inspecting inspectors X-Git-Tag: archive/raspbian/4.8.3+ds-2+rpi1~3^2~81^2^2~113^2~1 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=3da3cb35a65ae5352cdc430e481e3e77ac9c8e3c;p=gtk4.git object-tree: Allow inspecting inspectors We filter by display, so the inspector window should show up only when inspecting the inspector. --- diff --git a/gtk/inspector/object-tree.c b/gtk/inspector/object-tree.c index 34a7406683..1c5f022925 100644 --- a/gtk/inspector/object-tree.c +++ b/gtk/inspector/object-tree.c @@ -1136,9 +1136,6 @@ toplevel_filter_func (gpointer item, if (!GTK_IS_WINDOW (item)) return FALSE; - if (g_str_equal (G_OBJECT_TYPE_NAME (item), "GtkInspectorWindow")) - return FALSE; - return gtk_widget_get_display (item) == display; }